package com.cake.dao;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxAdmin;

public interface XxAdminMapper extends IBaseDao<XxAdmin> {
    int deleteByPrimaryKey(Long id);

    int insert(XxAdmin record);

    int insertSelective(XxAdmin record);

    XxAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XxAdmin record);

    int updateByPrimaryKey(XxAdmin record);
    
    /**
     * 用户登录查询
     * @param adminParam
     * @return
     */
    XxAdmin selectAdminByUserNameAndPassword(XxAdmin xxAdmin);
}